package com.example.attendancesystem.Models;

import lombok.Data;

@Data
public class LeaveRow {
    private Integer id;         //id
    private String empNumber;   //员工号
    private String empName;     //姓名
    private String department;  //部门
    private String empPosition; //职务
    private String leaveDate;   //请假日期
    private String leaveTime;   //请假时间
    private String reason;      //请假理由
    private Integer readFlag;   //是否已读
    private Integer checkFlag;  //是否审批
    private Integer agreeFlag;  //是否同意

    public LeaveRow() {
    }

    public LeaveRow(Integer id, String empNumber, String empName, String department, String empPosition, String leaveDate, String leaveTime, String reason, Integer readFlag, Integer checkFlag, Integer agreeFlag) {
        this.id = id;
        this.empNumber = empNumber;
        this.empName = empName;
        this.department = department;
        this.empPosition = empPosition;
        this.leaveDate = leaveDate;
        this.leaveTime = leaveTime;
        this.reason = reason;
        this.readFlag = readFlag;
        this.checkFlag = checkFlag;
        this.agreeFlag = agreeFlag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmpNumber() {
        return empNumber;
    }

    public void setEmpNumber(String empNumber) {
        this.empNumber = empNumber;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getEmpPosition() {
        return empPosition;
    }

    public void setEmpPosition(String empPosition) {
        this.empPosition = empPosition;
    }

    public String getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Integer readFlag) {
        this.readFlag = readFlag;
    }

    public Integer getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(Integer checkFlag) {
        this.checkFlag = checkFlag;
    }

    public Integer getAgreeFlag() {
        return agreeFlag;
    }

    public void setAgreeFlag(Integer agreeFlag) {
        this.agreeFlag = agreeFlag;
    }
}
